`include "../codigo/Controle.v"

module test_Controle ( ) ;

    reg   [5:0]   t_op ;
    reg   [5:0]   t_fn ;
    reg   [4:0]   t_rt ;

    wire  [2:0]   t_selwsource ;
    wire  [1:0]   t_selregdest ;
    wire          t_writereg ;
    wire          t_writeov ;
    wire          t_selimregb ;
    wire          t_selsarega ;
    wire          t_selalushift ;
    wire  [2:0]   t_aluop ;
    wire          t_unsig ;
    wire  [1:0]   t_shiftop ;
    wire          t_mshw ;
    wire          t_lshw ;
    wire  [2:0]   t_msm ;
    wire  [2:0]   t_msl ;
    wire          t_readmem ;
    wire          t_writemem ;
    wire  [1:0]   t_selbrjumpz ;
    wire  [1:0]   t_seltipopc ;
    wire  [2:0]   t_compop ;

    Controle t_controle( .op(t_op),
        .fn(t_fn),
        .rt(t_rt),
        .selwsource(t_selwsource),
        .selregdest(t_selregdest),
        .writereg(t_writereg),
        .writeov(t_writeov),
        .selimregb(t_selimregb),
        .selsarega(t_selsarega),
        .selalushift(t_selalushift),
        .aluop(t_aluop),
        .unsig(t_unsig),
        .shiftop(t_shiftop),
        .mshw(t_mshw),
        .lshw(t_lshw),
        .msm(t_msm),
        .msl(t_msl),
        .readmem(t_readmem),
        .writemem(t_writemem),
        .selbrjumpz(t_selbrjumpz),
        .seltipopc(t_seltipopc),
        .compop(t_compop) ) ;

    initial begin
        //Test 1
        //Table line : 00000000000011111010001000111101111111110011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b000000;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b0
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b01
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b10
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 1: ok");
        end else begin
             $display("Test 1: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 2
        //Table line : 00000000001011111010001000111001111111110011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b000010;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b0
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b01
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b00
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 2: ok");
        end else begin
             $display("Test 2: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 3
        //Table line : 00000000001111111010001000111011111111110011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b000011;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b0
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b01
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b01
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 3: ok");
        end else begin
             $display("Test 3: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 4
        //Table line : 00000000010011111000001000111101111111110011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b000100;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b0
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b01
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b10
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 4: ok");
        end else begin
             $display("Test 4: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 5
        //Table line : 00000000011011111000001000111001111111110011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b000110;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b0
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b01
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b00
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 5: ok");
        end else begin
             $display("Test 5: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 6
        //Table line : 00000000011111111000001000111011111111110011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b000111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b0
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b01
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b01
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 6: ok");
        end else begin
             $display("Test 6: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 7
        //Table line : 00000000100011111100111111011111111111010011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b001000;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b01
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b01
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 7: ok");
        end else begin
             $display("Test 7: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 8
        //Table line : 00000000100111111100101011111111111111010011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b001001;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b01
         && t_selregdest == 2'b01
         && t_selwsource == 3'b011
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b01
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 8: ok");
        end else begin
             $display("Test 8: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 9
        //Table line : 00000010000011111000001000100110100111110011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b100000;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b0
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b01
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b0
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 9: ok");
        end else begin
             $display("Test 9: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 10
        //Table line : 00000010000111111000001000111110100111110011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b100001;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b0
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b01
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 10: ok");
        end else begin
             $display("Test 10: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 11
        //Table line : 00000010001011111000001000100111100111110011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b100010;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b0
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b01
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b0
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b110
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 11: ok");
        end else begin
             $display("Test 11: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 12
        //Table line : 00000010001111111000001000111111100111110011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b100011;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b0
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b01
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b110
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 12: ok");
        end else begin
             $display("Test 12: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 13
        //Table line : 00000010010011111000001000111110000111110011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b100100;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b0
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b01
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b000
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 13: ok");
        end else begin
             $display("Test 13: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 14
        //Table line : 00000010010111111000001000111110010111110011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b100101;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b0
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b01
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b001
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 14: ok");
        end else begin
             $display("Test 14: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 15
        //Table line : 00000010011011111000001000111111010111110011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b100110;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b0
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b01
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b101
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 15: ok");
        end else begin
             $display("Test 15: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 16
        //Table line : 00000010011111111000001000111111000111110011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b100111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b0
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b01
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b100
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 16: ok");
        end else begin
             $display("Test 16: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 17
        //Table line : 00000010101011111000001100110111100111110011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b101010;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b0
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b01
         && t_selwsource == 3'b100
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b110
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 17: ok");
        end else begin
             $display("Test 17: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 18
        //Table line : 00000010101111111000001100111111100111110011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b101011;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b0
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b01
         && t_selwsource == 3'b100
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b110
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 18: ok");
        end else begin
             $display("Test 18: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 19
        //Table line : 00000111111100000101011111010111111100000011111111 ;
        t_op = 6'b000001;
        t_fn = 6'b111111;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b10
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b100
         && t_seltipopc == 2'b00
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 19: ok");
        end else begin
             $display("Test 19: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 20
        //Table line : 00000111111100001101011111010111111001000011111111 ;
        t_op = 6'b000001;
        t_fn = 6'b111111;
        t_rt = 5'b00001;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b10
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b001
         && t_seltipopc == 2'b00
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 20: ok");
        end else begin
             $display("Test 20: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 21
        //Table line : 00000111111110000101010011110111111100000011111111 ;
        t_op = 6'b000001;
        t_fn = 6'b111111;
        t_rt = 5'b10000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b10
         && t_selregdest == 2'b10
         && t_selwsource == 3'b011
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b100
         && t_seltipopc == 2'b00
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 21: ok");
        end else begin
             $display("Test 21: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 22
        //Table line : 00000111111110001101010011110111111001000011111111 ;
        t_op = 6'b000001;
        t_fn = 6'b111111;
        t_rt = 5'b10001;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b10
         && t_selregdest == 2'b10
         && t_selwsource == 3'b011
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b001
         && t_seltipopc == 2'b00
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 22: ok");
        end else begin
             $display("Test 22: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 23
        //Table line : 00001011111111111110111111011111111111100011111111 ;
        t_op = 6'b000010;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b01
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b10
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 23: ok");
        end else begin
             $display("Test 23: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 24
        //Table line : 00001111111111111110110011111111111111100011111111 ;
        t_op = 6'b000011;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b01
         && t_selregdest == 2'b10
         && t_selwsource == 3'b011
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b10
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 24: ok");
        end else begin
             $display("Test 24: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 25
        //Table line : 00010011111111111101011111010111111000000011111111 ;
        t_op = 6'b000100;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b10
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b000
         && t_seltipopc == 2'b00
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 25: ok");
        end else begin
             $display("Test 25: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 26
        //Table line : 00010111111111111101011111010111111101000011111111 ;
        t_op = 6'b000101;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b10
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b101
         && t_seltipopc == 2'b00
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 26: ok");
        end else begin
             $display("Test 26: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 27
        //Table line : 00011011111111111101011111010111111010000011111111 ;
        t_op = 6'b000110;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b10
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b010
         && t_seltipopc == 2'b00
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 27: ok");
        end else begin
             $display("Test 27: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 28
        //Table line : 00011111111111111101011111010111111011000011111111 ;
        t_op = 6'b000111;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b10
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b011
         && t_seltipopc == 2'b00
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 28: ok");
        end else begin
             $display("Test 28: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 29
        //Table line : 00100011111111111100000000100110100111110011111111 ;
        t_op = 6'b001000;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b0
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 29: ok");
        end else begin
             $display("Test 29: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 30
        //Table line : 00100111111111111100000000111110100111110011111111 ;
        t_op = 6'b001001;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 30: ok");
        end else begin
             $display("Test 30: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 31
        //Table line : 00101011111111111100000100100111100111110011111111 ;
        t_op = 6'b001010;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b100
         && t_writereg == 1'b1
         && t_writeov == 1'b0
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b110
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 31: ok");
        end else begin
             $display("Test 31: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 32
        //Table line : 00101111111111111100000100111111100111110011111111 ;
        t_op = 6'b001011;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b100
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b110
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 32: ok");
        end else begin
             $display("Test 32: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 33
        //Table line : 00110011111111111100000000111110000111110011111111 ;
        t_op = 6'b001100;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b000
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 33: ok");
        end else begin
             $display("Test 33: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 34
        //Table line : 00110111111111111100000000111110010111110011111111 ;
        t_op = 6'b001101;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b001
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 34: ok");
        end else begin
             $display("Test 34: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 35
        //Table line : 00111011111111111100000000111111010111110011111111 ;
        t_op = 6'b001110;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b101
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 35: ok");
        end else begin
             $display("Test 35: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 36
        //Table line : 00111111111111111110000010111111111111110011111111 ;
        t_op = 6'b001111;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b010
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 36: ok");
        end else begin
             $display("Test 36: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 37
        //Table line : 01000011111111111111111111011111111111110011111111 ;
        t_op = 6'b010000;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 37: ok");
        end else begin
             $display("Test 37: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 38
        //Table line : 01000111111111111111111111011111111111110011111111 ;
        t_op = 6'b010001;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 38: ok");
        end else begin
             $display("Test 38: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 39
        //Table line : 01001011111111111111111111011111111111110011111111 ;
        t_op = 6'b010010;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 39: ok");
        end else begin
             $display("Test 39: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 40
        //Table line : 01001111111111111111111111011111111111110011111111 ;
        t_op = 6'b010011;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 40: ok");
        end else begin
             $display("Test 40: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 41
        //Table line : 01010011111111111111111111011111111111110011111111 ;
        t_op = 6'b010100;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 41: ok");
        end else begin
             $display("Test 41: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 42
        //Table line : 01010111111111111111111111011111111111110011111111 ;
        t_op = 6'b010101;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 42: ok");
        end else begin
             $display("Test 42: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 43
        //Table line : 01011011111111111111111111011111111111110011111111 ;
        t_op = 6'b010110;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 43: ok");
        end else begin
             $display("Test 43: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 44
        //Table line : 01011111111111111111111111011111111111110011111111 ;
        t_op = 6'b010111;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 44: ok");
        end else begin
             $display("Test 44: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 45
        //Table line : 01100011111111111111111111011111111111110011111111 ;
        t_op = 6'b011000;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 45: ok");
        end else begin
             $display("Test 45: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 46
        //Table line : 01100111111111111111111111011111111111110011111111 ;
        t_op = 6'b011001;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 46: ok");
        end else begin
             $display("Test 46: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 47
        //Table line : 01101011111111111111111111011111111111110011111111 ;
        t_op = 6'b011010;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 47: ok");
        end else begin
             $display("Test 47: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 48
        //Table line : 01101111111111111111111111011111111111110011111111 ;
        t_op = 6'b011011;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 48: ok");
        end else begin
             $display("Test 48: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 49
        //Table line : 01110011111111111111111111011111111111110011111111 ;
        t_op = 6'b011100;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 49: ok");
        end else begin
             $display("Test 49: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 50
        //Table line : 01110111111111111111111111011111111111110011111111 ;
        t_op = 6'b011101;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 50: ok");
        end else begin
             $display("Test 50: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 51
        //Table line : 01111011111111111111111111011111111111110011111111 ;
        t_op = 6'b011110;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 51: ok");
        end else begin
             $display("Test 51: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 52
        //Table line : 01111111111111111111111111011111111111110011111111 ;
        t_op = 6'b011111;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 52: ok");
        end else begin
             $display("Test 52: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 53
        //Table line : 10000011111111111100000001110110100111111011011011 ;
        t_op = 6'b100000;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b001
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b1
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b011
         && t_msl == 3'b011 ) begin
             $display("Test 53: ok");
        end else begin
             $display("Test 53: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 54
        //Table line : 10000111111111111100000001110110100111111011011001 ;
        t_op = 6'b100001;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b001
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b1
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b011
         && t_msl == 3'b001 ) begin
             $display("Test 54: ok");
        end else begin
             $display("Test 54: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 55
        //Table line : 10001011111111111100000001110110100111111010010000 ;
        t_op = 6'b100010;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b001
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b1
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b0
         && t_msm == 3'b010
         && t_msl == 3'b000 ) begin
             $display("Test 55: ok");
        end else begin
             $display("Test 55: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 56
        //Table line : 10001111111111111100000001110110100111111011001010 ;
        t_op = 6'b100011;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b001
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b1
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b001
         && t_msl == 3'b010 ) begin
             $display("Test 56: ok");
        end else begin
             $display("Test 56: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 57
        //Table line : 10010011111111111100000001110110100111111011000100 ;
        t_op = 6'b100100;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b001
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b1
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b000
         && t_msl == 3'b100 ) begin
             $display("Test 57: ok");
        end else begin
             $display("Test 57: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 58
        //Table line : 10010111111111111100000001110110100111111011000001 ;
        t_op = 6'b100101;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b001
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b1
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b000
         && t_msl == 3'b001 ) begin
             $display("Test 58: ok");
        end else begin
             $display("Test 58: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 59
        //Table line : 10011011111111111100000001110110100111111001000001 ;
        t_op = 6'b100110;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b001
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b1
         && t_writemem == 1'b0
         && t_mshw == 1'b0
         && t_lshw == 1'b1
         && t_msm == 3'b000
         && t_msl == 3'b001 ) begin
             $display("Test 59: ok");
        end else begin
             $display("Test 59: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 60
        //Table line : 10011111111111111111111111011111111111110011111111 ;
        t_op = 6'b100111;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 60: ok");
        end else begin
             $display("Test 60: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 61
        //Table line : 10100011111111111100011111010110100111110111100011 ;
        t_op = 6'b101000;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b1
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b100
         && t_msl == 3'b011 ) begin
             $display("Test 61: ok");
        end else begin
             $display("Test 61: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 62
        //Table line : 10100111111111111100011111010110100111110111010000 ;
        t_op = 6'b101001;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b1
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b010
         && t_msl == 3'b000 ) begin
             $display("Test 62: ok");
        end else begin
             $display("Test 62: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 63
        //Table line : 10101011111111111100011111010110100111110101000001 ;
        t_op = 6'b101010;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b1
         && t_mshw == 1'b0
         && t_lshw == 1'b1
         && t_msm == 3'b000
         && t_msl == 3'b001 ) begin
             $display("Test 63: ok");
        end else begin
             $display("Test 63: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 64
        //Table line : 10101111111111111100011111010110100111110111001010 ;
        t_op = 6'b101011;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b1
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b001
         && t_msl == 3'b010 ) begin
             $display("Test 64: ok");
        end else begin
             $display("Test 64: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 65
        //Table line : 10110011111111111111111111011111111111110011111111 ;
        t_op = 6'b101100;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 65: ok");
        end else begin
             $display("Test 65: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 66
        //Table line : 10110111111111111111111111011111111111110011111111 ;
        t_op = 6'b101101;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 66: ok");
        end else begin
             $display("Test 66: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 67
        //Table line : 10111011111111111100011111010110100111110110010000 ;
        t_op = 6'b101110;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b1
         && t_mshw == 1'b1
         && t_lshw == 1'b0
         && t_msm == 3'b010
         && t_msl == 3'b000 ) begin
             $display("Test 67: ok");
        end else begin
             $display("Test 67: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 68
        //Table line : 10111111111111111111111111010111111111110011111111 ;
        t_op = 6'b101111;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 68: ok");
        end else begin
             $display("Test 68: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 69
        //Table line : 11000011111111111100000001110110100111111011001010 ;
        t_op = 6'b110000;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b001
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b1
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b001
         && t_msl == 3'b010 ) begin
             $display("Test 69: ok");
        end else begin
             $display("Test 69: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 70
        //Table line : 11000111111111111111111111011111111111110011111111 ;
        t_op = 6'b110001;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 70: ok");
        end else begin
             $display("Test 70: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 71
        //Table line : 11001011111111111111111111011111111111110011111111 ;
        t_op = 6'b110010;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 71: ok");
        end else begin
             $display("Test 71: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 72
        //Table line : 11010011111111111111111111011111111111110011111111 ;
        t_op = 6'b110100;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 72: ok");
        end else begin
             $display("Test 72: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 73
        //Table line : 11010111111111111111111111011111111111110011111111 ;
        t_op = 6'b110101;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 73: ok");
        end else begin
             $display("Test 73: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 74
        //Table line : 11011011111111111111111111011111111111110011111111 ;
        t_op = 6'b110110;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 74: ok");
        end else begin
             $display("Test 74: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 75
        //Table line : 11011111111111111111111111011111111111110011111111 ;
        t_op = 6'b110111;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 75: ok");
        end else begin
             $display("Test 75: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 76
        //Table line : 11100011111111111100000001110110100111110111001010 ;
        t_op = 6'b111000;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b001
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b1
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b001
         && t_msl == 3'b010 ) begin
             $display("Test 76: ok");
        end else begin
             $display("Test 76: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 77
        //Table line : 11100111111111111111111111011111111111110011111111 ;
        t_op = 6'b111001;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 77: ok");
        end else begin
             $display("Test 77: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 78
        //Table line : 11101011111111111111111111011111111111110011111111 ;
        t_op = 6'b111010;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 78: ok");
        end else begin
             $display("Test 78: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 79
        //Table line : 11101111111111111111111111011111111111110011111111 ;
        t_op = 6'b111011;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 79: ok");
        end else begin
             $display("Test 79: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 80
        //Table line : 11110011111111111111111111011111111111110011111111 ;
        t_op = 6'b111100;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 80: ok");
        end else begin
             $display("Test 80: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 81
        //Table line : 11110111111111111111111111011111111111110011111111 ;
        t_op = 6'b111101;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 81: ok");
        end else begin
             $display("Test 81: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 82
        //Table line : 11111011111111111111111111011111111111110011111111 ;
        t_op = 6'b111110;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 82: ok");
        end else begin
             $display("Test 82: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 83
        //Table line : 11111111111111111111111111011111111111110011111111 ;
        t_op = 6'b111111;
        t_fn = 6'b111111;
        t_rt = 5'b11111;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 83: ok");
        end else begin
             $display("Test 83: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 84
        //Table line : 00000000000000000010001000111101111111110011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b0
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b01
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b10
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 84: ok");
        end else begin
             $display("Test 84: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 85
        //Table line : 00000000001000000010001000111001111111110011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b000010;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b0
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b01
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b00
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 85: ok");
        end else begin
             $display("Test 85: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 86
        //Table line : 00000000001100000010001000111011111111110011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b000011;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b0
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b01
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b01
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 86: ok");
        end else begin
             $display("Test 86: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 87
        //Table line : 00000000010000000000001000111101111111110011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b000100;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b0
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b01
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b10
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 87: ok");
        end else begin
             $display("Test 87: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 88
        //Table line : 00000000011000000000001000111001111111110011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b000110;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b0
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b01
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b00
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 88: ok");
        end else begin
             $display("Test 88: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 89
        //Table line : 00000000011100000000001000111011111111110011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b000111;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b0
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b01
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b01
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 89: ok");
        end else begin
             $display("Test 89: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 90
        //Table line : 00000000100000000100111111011111111111010011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b001000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b01
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b01
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 90: ok");
        end else begin
             $display("Test 90: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 91
        //Table line : 00000000100100000100101011111111111111010011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b001001;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b01
         && t_selregdest == 2'b01
         && t_selwsource == 3'b011
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b01
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 91: ok");
        end else begin
             $display("Test 91: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 92
        //Table line : 00000010000000000000001000100110100111110011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b100000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b0
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b01
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b0
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 92: ok");
        end else begin
             $display("Test 92: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 93
        //Table line : 00000010000100000000001000111110100111110011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b100001;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b0
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b01
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 93: ok");
        end else begin
             $display("Test 93: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 94
        //Table line : 00000010001000000000001000100111100111110011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b100010;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b0
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b01
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b0
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b110
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 94: ok");
        end else begin
             $display("Test 94: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 95
        //Table line : 00000010001100000000001000111111100111110011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b100011;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b0
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b01
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b110
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 95: ok");
        end else begin
             $display("Test 95: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 96
        //Table line : 00000010010000000000001000111110000111110011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b100100;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b0
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b01
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b000
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 96: ok");
        end else begin
             $display("Test 96: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 97
        //Table line : 00000010010100000000001000111110010111110011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b100101;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b0
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b01
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b001
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 97: ok");
        end else begin
             $display("Test 97: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 98
        //Table line : 00000010011000000000001000111111010111110011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b100110;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b0
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b01
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b101
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 98: ok");
        end else begin
             $display("Test 98: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 99
        //Table line : 00000010011100000000001000111111000111110011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b100111;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b0
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b01
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b100
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 99: ok");
        end else begin
             $display("Test 99: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 100
        //Table line : 00000010101000000000001100110111100111110011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b101010;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b0
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b01
         && t_selwsource == 3'b100
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b110
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 100: ok");
        end else begin
             $display("Test 100: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 101
        //Table line : 00000010101100000000001100111111100111110011111111 ;
        t_op = 6'b000000;
        t_fn = 6'b101011;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b0
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b01
         && t_selwsource == 3'b100
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b110
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 101: ok");
        end else begin
             $display("Test 101: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 102
        //Table line : 00000100000000000101011111010111111100000011111111 ;
        t_op = 6'b000001;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b10
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b100
         && t_seltipopc == 2'b00
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 102: ok");
        end else begin
             $display("Test 102: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 103
        //Table line : 00000100000000001101011111010111111001000011111111 ;
        t_op = 6'b000001;
        t_fn = 6'b000000;
        t_rt = 5'b00001;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b10
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b001
         && t_seltipopc == 2'b00
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 103: ok");
        end else begin
             $display("Test 103: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 104
        //Table line : 00000100000010000101010011110111111100000011111111 ;
        t_op = 6'b000001;
        t_fn = 6'b000000;
        t_rt = 5'b10000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b10
         && t_selregdest == 2'b10
         && t_selwsource == 3'b011
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b100
         && t_seltipopc == 2'b00
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 104: ok");
        end else begin
             $display("Test 104: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 105
        //Table line : 00000100000010001101010011110111111001000011111111 ;
        t_op = 6'b000001;
        t_fn = 6'b000000;
        t_rt = 5'b10001;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b10
         && t_selregdest == 2'b10
         && t_selwsource == 3'b011
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b001
         && t_seltipopc == 2'b00
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 105: ok");
        end else begin
             $display("Test 105: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 106
        //Table line : 00001000000000000110111111011111111111100011111111 ;
        t_op = 6'b000010;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b01
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b10
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 106: ok");
        end else begin
             $display("Test 106: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 107
        //Table line : 00001100000000000110110011111111111111100011111111 ;
        t_op = 6'b000011;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b01
         && t_selregdest == 2'b10
         && t_selwsource == 3'b011
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b10
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 107: ok");
        end else begin
             $display("Test 107: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 108
        //Table line : 00010000000000000101011111010111111000000011111111 ;
        t_op = 6'b000100;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b10
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b000
         && t_seltipopc == 2'b00
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 108: ok");
        end else begin
             $display("Test 108: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 109
        //Table line : 00010100000000000101011111010111111101000011111111 ;
        t_op = 6'b000101;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b10
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b101
         && t_seltipopc == 2'b00
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 109: ok");
        end else begin
             $display("Test 109: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 110
        //Table line : 00011000000000000101011111010111111010000011111111 ;
        t_op = 6'b000110;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b10
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b010
         && t_seltipopc == 2'b00
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 110: ok");
        end else begin
             $display("Test 110: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 111
        //Table line : 00011100000000000101011111010111111011000011111111 ;
        t_op = 6'b000111;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b10
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b011
         && t_seltipopc == 2'b00
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 111: ok");
        end else begin
             $display("Test 111: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 112
        //Table line : 00100000000000000100000000100110100111110011111111 ;
        t_op = 6'b001000;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b0
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 112: ok");
        end else begin
             $display("Test 112: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 113
        //Table line : 00100100000000000100000000111110100111110011111111 ;
        t_op = 6'b001001;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 113: ok");
        end else begin
             $display("Test 113: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 114
        //Table line : 00101000000000000100000100100111100111110011111111 ;
        t_op = 6'b001010;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b100
         && t_writereg == 1'b1
         && t_writeov == 1'b0
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b110
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 114: ok");
        end else begin
             $display("Test 114: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 115
        //Table line : 00101100000000000100000100111111100111110011111111 ;
        t_op = 6'b001011;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b100
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b110
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 115: ok");
        end else begin
             $display("Test 115: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 116
        //Table line : 00110000000000000100000000111110000111110011111111 ;
        t_op = 6'b001100;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b000
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 116: ok");
        end else begin
             $display("Test 116: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 117
        //Table line : 00110100000000000100000000111110010111110011111111 ;
        t_op = 6'b001101;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b001
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 117: ok");
        end else begin
             $display("Test 117: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 118
        //Table line : 00111000000000000100000000111111010111110011111111 ;
        t_op = 6'b001110;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b000
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b101
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 118: ok");
        end else begin
             $display("Test 118: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 119
        //Table line : 00111100000000000110000010111111111111110011111111 ;
        t_op = 6'b001111;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b010
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 119: ok");
        end else begin
             $display("Test 119: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 120
        //Table line : 01000000000000000111111111011111111111110011111111 ;
        t_op = 6'b010000;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 120: ok");
        end else begin
             $display("Test 120: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 121
        //Table line : 01000100000000000111111111011111111111110011111111 ;
        t_op = 6'b010001;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 121: ok");
        end else begin
             $display("Test 121: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 122
        //Table line : 01001000000000000111111111011111111111110011111111 ;
        t_op = 6'b010010;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 122: ok");
        end else begin
             $display("Test 122: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 123
        //Table line : 01001100000000000111111111011111111111110011111111 ;
        t_op = 6'b010011;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 123: ok");
        end else begin
             $display("Test 123: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 124
        //Table line : 01010000000000000111111111011111111111110011111111 ;
        t_op = 6'b010100;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 124: ok");
        end else begin
             $display("Test 124: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 125
        //Table line : 01010100000000000111111111011111111111110011111111 ;
        t_op = 6'b010101;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 125: ok");
        end else begin
             $display("Test 125: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 126
        //Table line : 01011000000000000111111111011111111111110011111111 ;
        t_op = 6'b010110;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 126: ok");
        end else begin
             $display("Test 126: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 127
        //Table line : 01011100000000000111111111011111111111110011111111 ;
        t_op = 6'b010111;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 127: ok");
        end else begin
             $display("Test 127: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 128
        //Table line : 01100000000000000111111111011111111111110011111111 ;
        t_op = 6'b011000;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 128: ok");
        end else begin
             $display("Test 128: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 129
        //Table line : 01100100000000000111111111011111111111110011111111 ;
        t_op = 6'b011001;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 129: ok");
        end else begin
             $display("Test 129: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 130
        //Table line : 01101000000000000111111111011111111111110011111111 ;
        t_op = 6'b011010;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 130: ok");
        end else begin
             $display("Test 130: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 131
        //Table line : 01101100000000000111111111011111111111110011111111 ;
        t_op = 6'b011011;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 131: ok");
        end else begin
             $display("Test 131: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 132
        //Table line : 01110000000000000111111111011111111111110011111111 ;
        t_op = 6'b011100;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 132: ok");
        end else begin
             $display("Test 132: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 133
        //Table line : 01110100000000000111111111011111111111110011111111 ;
        t_op = 6'b011101;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 133: ok");
        end else begin
             $display("Test 133: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 134
        //Table line : 01111000000000000111111111011111111111110011111111 ;
        t_op = 6'b011110;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 134: ok");
        end else begin
             $display("Test 134: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 135
        //Table line : 01111100000000000111111111011111111111110011111111 ;
        t_op = 6'b011111;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 135: ok");
        end else begin
             $display("Test 135: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 136
        //Table line : 10000000000000000100000001110110100111111011011011 ;
        t_op = 6'b100000;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b001
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b1
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b011
         && t_msl == 3'b011 ) begin
             $display("Test 136: ok");
        end else begin
             $display("Test 136: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 137
        //Table line : 10000100000000000100000001110110100111111011011001 ;
        t_op = 6'b100001;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b001
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b1
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b011
         && t_msl == 3'b001 ) begin
             $display("Test 137: ok");
        end else begin
             $display("Test 137: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 138
        //Table line : 10001000000000000100000001110110100111111010010000 ;
        t_op = 6'b100010;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b001
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b1
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b0
         && t_msm == 3'b010
         && t_msl == 3'b000 ) begin
             $display("Test 138: ok");
        end else begin
             $display("Test 138: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 139
        //Table line : 10001100000000000100000001110110100111111011001010 ;
        t_op = 6'b100011;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b001
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b1
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b001
         && t_msl == 3'b010 ) begin
             $display("Test 139: ok");
        end else begin
             $display("Test 139: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 140
        //Table line : 10010000000000000100000001110110100111111011000100 ;
        t_op = 6'b100100;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b001
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b1
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b000
         && t_msl == 3'b100 ) begin
             $display("Test 140: ok");
        end else begin
             $display("Test 140: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 141
        //Table line : 10010100000000000100000001110110100111111011000001 ;
        t_op = 6'b100101;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b001
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b1
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b000
         && t_msl == 3'b001 ) begin
             $display("Test 141: ok");
        end else begin
             $display("Test 141: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 142
        //Table line : 10011000000000000100000001110110100111111001000001 ;
        t_op = 6'b100110;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b001
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b1
         && t_writemem == 1'b0
         && t_mshw == 1'b0
         && t_lshw == 1'b1
         && t_msm == 3'b000
         && t_msl == 3'b001 ) begin
             $display("Test 142: ok");
        end else begin
             $display("Test 142: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 143
        //Table line : 10011100000000000111111111011111111111110011111111 ;
        t_op = 6'b100111;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 143: ok");
        end else begin
             $display("Test 143: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 144
        //Table line : 10100000000000000100011111010110100111110111100011 ;
        t_op = 6'b101000;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b1
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b100
         && t_msl == 3'b011 ) begin
             $display("Test 144: ok");
        end else begin
             $display("Test 144: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 145
        //Table line : 10100100000000000100011111010110100111110111010000 ;
        t_op = 6'b101001;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b1
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b010
         && t_msl == 3'b000 ) begin
             $display("Test 145: ok");
        end else begin
             $display("Test 145: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 146
        //Table line : 10101000000000000100011111010110100111110101000001 ;
        t_op = 6'b101010;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b1
         && t_mshw == 1'b0
         && t_lshw == 1'b1
         && t_msm == 3'b000
         && t_msl == 3'b001 ) begin
             $display("Test 146: ok");
        end else begin
             $display("Test 146: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 147
        //Table line : 10101100000000000100011111010110100111110111001010 ;
        t_op = 6'b101011;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b1
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b001
         && t_msl == 3'b010 ) begin
             $display("Test 147: ok");
        end else begin
             $display("Test 147: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 148
        //Table line : 10110000000000000111111111011111111111110011111111 ;
        t_op = 6'b101100;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 148: ok");
        end else begin
             $display("Test 148: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 149
        //Table line : 10110100000000000111111111011111111111110011111111 ;
        t_op = 6'b101101;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 149: ok");
        end else begin
             $display("Test 149: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 150
        //Table line : 10111000000000000100011111010110100111110110010000 ;
        t_op = 6'b101110;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b1
         && t_mshw == 1'b1
         && t_lshw == 1'b0
         && t_msm == 3'b010
         && t_msl == 3'b000 ) begin
             $display("Test 150: ok");
        end else begin
             $display("Test 150: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 151
        //Table line : 10111100000000000111111111010111111111110011111111 ;
        t_op = 6'b101111;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 151: ok");
        end else begin
             $display("Test 151: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 152
        //Table line : 11000000000000000100000001110110100111111011001010 ;
        t_op = 6'b110000;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b001
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b1
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b001
         && t_msl == 3'b010 ) begin
             $display("Test 152: ok");
        end else begin
             $display("Test 152: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 153
        //Table line : 11000100000000000111111111011111111111110011111111 ;
        t_op = 6'b110001;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 153: ok");
        end else begin
             $display("Test 153: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 154
        //Table line : 11001000000000000111111111011111111111110011111111 ;
        t_op = 6'b110010;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 154: ok");
        end else begin
             $display("Test 154: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 155
        //Table line : 11010000000000000111111111011111111111110011111111 ;
        t_op = 6'b110100;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 155: ok");
        end else begin
             $display("Test 155: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 156
        //Table line : 11010100000000000111111111011111111111110011111111 ;
        t_op = 6'b110101;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 156: ok");
        end else begin
             $display("Test 156: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 157
        //Table line : 11011000000000000111111111011111111111110011111111 ;
        t_op = 6'b110110;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 157: ok");
        end else begin
             $display("Test 157: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 158
        //Table line : 11011100000000000111111111011111111111110011111111 ;
        t_op = 6'b110111;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 158: ok");
        end else begin
             $display("Test 158: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 159
        //Table line : 11100000000000000100000001110110100111110111001010 ;
        t_op = 6'b111000;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b0
         && t_selbrjumpz == 2'b00
         && t_selregdest == 2'b00
         && t_selwsource == 3'b001
         && t_writereg == 1'b1
         && t_writeov == 1'b1
         && t_unsig == 1'b0
         && t_shiftop == 2'b11
         && t_aluop == 3'b010
         && t_selalushift == 1'b0
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b1
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b001
         && t_msl == 3'b010 ) begin
             $display("Test 159: ok");
        end else begin
             $display("Test 159: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 160
        //Table line : 11100100000000000111111111011111111111110011111111 ;
        t_op = 6'b111001;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 160: ok");
        end else begin
             $display("Test 160: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 161
        //Table line : 11101000000000000111111111011111111111110011111111 ;
        t_op = 6'b111010;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 161: ok");
        end else begin
             $display("Test 161: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 162
        //Table line : 11101100000000000111111111011111111111110011111111 ;
        t_op = 6'b111011;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 162: ok");
        end else begin
             $display("Test 162: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 163
        //Table line : 11110000000000000111111111011111111111110011111111 ;
        t_op = 6'b111100;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 163: ok");
        end else begin
             $display("Test 163: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 164
        //Table line : 11110100000000000111111111011111111111110011111111 ;
        t_op = 6'b111101;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 164: ok");
        end else begin
             $display("Test 164: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 165
        //Table line : 11111000000000000111111111011111111111110011111111 ;
        t_op = 6'b111110;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 165: ok");
        end else begin
             $display("Test 165: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

        //Test 166
        //Table line : 11111100000000000111111111011111111111110011111111 ;
        t_op = 6'b111111;
        t_fn = 6'b000000;
        t_rt = 5'b00000;
        #1
        if (t_selimregb == 1'b1
         && t_selsarega == 1'b1
         && t_selbrjumpz == 2'b11
         && t_selregdest == 2'b11
         && t_selwsource == 3'b111
         && t_writereg == 1'b0
         && t_writeov == 1'b1
         && t_unsig == 1'b1
         && t_shiftop == 2'b11
         && t_aluop == 3'b111
         && t_selalushift == 1'b1
         && t_compop == 3'b111
         && t_seltipopc == 2'b11
         && t_readmem == 1'b0
         && t_writemem == 1'b0
         && t_mshw == 1'b1
         && t_lshw == 1'b1
         && t_msm == 3'b111
         && t_msl == 3'b111 ) begin
             $display("Test 166: ok");
        end else begin
             $display("Test 166: ERROR!!!");
             $display("t_op = %b, t_fn = %b, t_rt = %b", t_op, t_fn, t_rt);
             //$display("t_selimregb = %b, t_selsarega = %b, t_selbrjumpz = %b, t_selregdest = %b, t_selwsource = %b, t_writereg = %b, t_writeov = %b, t_unsig = %b, t_shiftop = %b, t_aluop = %b, t_selalushift = %b, t_compop = %b, t_seltipopc = %b, t_readmem = %b, t_writemem = %b, t_mshw = %b, t_lshw = %b, t_msm = %b, t_msl = %b", t_selimregb, t_selsarega, t_selbrjumpz, t_selregdest, t_selwsource, t_writereg, t_writeov, t_unsig, t_shiftop, t_aluop, t_selalushift, t_compop, t_seltipopc, t_readmem, t_writemem, t_mshw, t_lshw, t_msm, t_msl);
            $finish;
        end

    end
endmodule
